package com.ccy.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author coder_ccy
 * @date 2022/7/26 15:06
 */


//guli.threadpool.core-pool-size=5
//        guli.threadpool.max-pool-size=200
//        guli.threadpool.keep-alive-time=10
//        guli.threadpool.bloking-queue-length=10000

@ConfigurationProperties(prefix = "guli.threadpool")
@Component
@Data
public class GuliThreadPoolExecuterProperties {

    private Integer corePoolSize;
    private Integer maxPoolSize;
    private Integer keepAliveTime;
    private Integer blokingQueueLength;


}
